import request from '@/utils/request'
export function login(data) {
  return request.post('/sys/login', data)
}
// 获取用户基本信息
export function getInfo() {
  return request.post('/sys/profile')
}
// 获取用户详细信息
export function getUserDetailById(id) {
  return request.get('/sys/user/' + id)
}
